package com.example.foobar.business.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.foobar.business.service.DaQrcodeRecordsService;
import com.example.foobar.business.service.ImsGhostCustomActiveRecordService;
import com.example.foobar.business.service.ImsGhostQrcodeRecordsService;
import com.example.foobar.dao.service.DaQrcodeRecordsDaoService;
import com.example.foobar.dao.service.ImsGhostCustomActiveRecordDaoService;
import com.example.foobar.dao.service.ImsGhostQrcodeRecordsDaoService;
import com.example.foobar.entity.DaQrcodeRecords;
import com.example.foobar.entity.ImsGhostQrcodeRecords;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 分析系统配置文件 服务实现类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
@Slf4j
@Service
public class ImsGhostQrcodeRecordsServiceImpl implements ImsGhostQrcodeRecordsService {

    @Autowired
    ImsGhostQrcodeRecordsDaoService imsGhostQrcodeRecordsDaoService;

    @Override
    public boolean saveImsGhostQrcodeRecords(ImsGhostQrcodeRecords imsGhostQrcodeRecords) {
        return imsGhostQrcodeRecordsDaoService.saveImsGhostQrcodeRecords(imsGhostQrcodeRecords);
    }

    @Override
    public boolean updateImsGhostQrcodeRecords(ImsGhostQrcodeRecords imsGhostQrcodeRecords) {
        return imsGhostQrcodeRecordsDaoService.updateImsGhostQrcodeRecords(imsGhostQrcodeRecords);
    }

    @Override
    public boolean deleteImsGhostQrcodeRecords(Long id) {
        return imsGhostQrcodeRecordsDaoService.deleteImsGhostQrcodeRecords(id);
    }

    @Override
    public ImsGhostQrcodeRecords getById(Long id) {
        return imsGhostQrcodeRecordsDaoService.getById(id);
    }

    @Override
    public List<ImsGhostQrcodeRecords> list(QueryWrapper<ImsGhostQrcodeRecords> wrapper) {
        return imsGhostQrcodeRecordsDaoService.list(wrapper);
    }
}
